apiVersion: v1
kind: PersistentVolume
metadata:
  name: local-pv-0
spec:
  capacity:
    storage: 100Gi
  accessModes:
  - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  storageClassName: {{ storageClassName }}
  local:
    path: {{ local_volume_path }}/f2c0
  nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: kubernetes.io/hostname
          operator: In
          values:
          - worker1.{{cluster_name}}.{{cluster_domain}}
